package cn.woochen.mvvmframe

import cn.woochen.comlib.BaseApplication
import cn.woochen.comlib.config.RetrofitUtil
import cn.woochen.mvvmframe.http.Constants

class AppApplication: BaseApplication() {
    override fun onCreate() {
        super.onCreate()
        initRetrofit()
    }

    /**
     * 初始化网络请求
     */
    private fun initRetrofit() {
        RetrofitUtil.getInstance().init(Constants.BASE_URL)
    }
}